package com.cqeec.demo.mapper;

import java.util.List;
import java.util.Map;
import com.cqeec.demo.bean.AdminRole;

/**
 * 系统用户角色数据访问接口类
 * 
 * @Title: AdminAuthMapper
 * @Descripton: 定义系统用户角色数据访问接口
 */
public interface AdminRoleMapper {
	public List<AdminRole> getUserRole(Long userid);
	public List<AdminRole> getRoleListByPage(Map<String, Object> params);
	public int recordCount(Map<String, Object> params);
	public AdminRole findEntityByName(String role_name);
	public void saveEntity(AdminRole adminRole);
	public void updateEntity(AdminRole adminRole);
	public void doDisAuth(AdminRole adminRole);
}
